/*
 * @Description: 表格id
 * @Author: zhuoda
 * @Date: 2022-08-21
 * @LastEditTime: 2022-08-21
 * @LastEditors: zhuoda
 */

//system系统功能表格初始化id
let systemInitTableId = 10000

//support支撑功能表格初始化id
let supportInitTableId = 20000

//业务表格初始化id
let businessOPERAInitTableId = 30000

let businessAGENTInitTableId = 40000

export const TABLE_ID_CONST = {
  /**
   * 业务
   */
  BUSINESS: {
    OPERATION: {
      TRADE_STATISTIC: businessOPERAInitTableId + 1,
      MERCHANT_DAY_ORDER: businessOPERAInitTableId + 2,
      REFUND: businessOPERAInitTableId + 3,
      MERCHANT: businessOPERAInitTableId + 4,
      RECONCILIATION: businessOPERAInitTableId + 5,
      ORDER: businessOPERAInitTableId + 6,
    },
    AGENT: {
      TRADE_STATISTIC: businessAGENTInitTableId + 1,
      MERCHANT_DAY_ORDER: businessAGENTInitTableId + 2,
      REFUND: businessAGENTInitTableId + 3,
      MERCHANT: businessAGENTInitTableId + 4,
    },
  },

  /**
   * 系统
   */
  SYSTEM: {
    USER: systemInitTableId + 1, //员工
    MENU: systemInitTableId + 2, //菜单
    ROLE: systemInitTableId + 3, //职位
  },
  /**
   * 支撑
   */
  SUPPORT: {
    CONFIG: supportInitTableId + 1, //参数配置
    DICT: supportInitTableId + 2, //字典
    SERIAL_NUMBER: supportInitTableId + 3, //单号
    OPERATE_LOG: supportInitTableId + 4, //请求监控
    HEART_BEAT: supportInitTableId + 5, //心跳
    LOGIN_LOG: supportInitTableId + 6, //登录日志
    RELOAD: supportInitTableId + 7, //reload
    HELP_DOC: supportInitTableId + 8, //帮助文档
    JOB: supportInitTableId + 9, //Job
    JOB_LOG: supportInitTableId + 10, //JobLog
  },
}
